﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Guoc.BigMall.Domain.Entity
{
   public class ProductPicture:BaseEntity
    {

         public int ProductId { get; set; }

         /// <summary>
         ///  Prooduct/Code/main|detail/
         /// </summary>
         public string ImageUrl { get; set; }

        public int Order { get; set; }
        /// <summary>
        /// 图片来源：website ，internet
        /// </summary>

        public string ComeFrom { get; set; }

        public ProductImageType ImageType { get; set; }
    }


    public enum ProductImageType { 
        /// <summary>
        /// 主图
        /// </summary>
        MainPicture =1 ,
        /// <summary>
        /// 详情图
        /// </summary>
        DetailPicture =2 
    }
}
